package com.example.loop.service;


import com.example.loop.entity.User;
import com.example.loop.mapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Liaorun
 */
@Service
public class UserService {

    @Resource
    private UserMapper userMapper;

    public User findByAccount(String account) {
        return userMapper.findByAccount(account);
    }
}
